package com.ctg.payroll2.service.payment;

import java.sql.SQLException;

import com.ctg.payroll2.bean.filter.PayClassFilter;
import com.ctg.payroll2.bean.po.PayClass;
import com.ctg.platform.util.Page;

public interface PayClassService {
	Long insertPayClass(PayClass payClass);
	/**
	 * 翻页查询薪资类别
	 * @param filter
	 * @return
	 */
	Page queryPayClassPageByFilter(PayClassFilter filter);
	/**
	 * 复查一遍
	 * @param id
	 * @return
	 */
	PayClass retrieveEntity(Long id);
	/**
	 * 假删除薪资类别
	 * @param ids
	 * @return
	 */
	boolean fakeDeletePayClazzByIds(Long ids);
	/**
	 * 修改薪资类别
	 * @param payClazz 薪资类别对象
	 */
	void updatePayClazz(PayClass payClazz) throws SQLException;
}
